Skip to content

DTS: Fix the headphone detection on the orangepi 5 plus#8568

Closed
leggewie wants to merge 1 commit intoarmbian:mainfrom
leggewie:wip-fix-opi5-audio
Closed

DTS: Fix the headphone detection on the orangepi 5 plus#8568
leggewie wants to merge 1 commit intoarmbian:mainfrom
leggewie:wip-fix-opi5-audio

Conversation

@leggewie
Copy link
Contributor

@leggewie leggewie commented Aug 31, 2025

https://patchwork.kernel.org/project/linux-rockchip/patch/20250823-orangepi5-v1-1-ae77dd0e06d7@hotmail.com/ https://forum.armbian.com/topic/52118-hdmi-audio-and-analog-audio-do-not-work-on-opi5plus/#findComment-224923

There is an error in the DTS file for the Opi 5+. Question is if the same is true for the Opi 5 Pro: patch/kernel/archive/rockchip64-6.16/dt/rk3588s-orangepi-5-pro.dts

Testing: I have compile-tested this. The change has been run-time tested by the forum user "The Tall Man", but let's consider this PR a draft for now.

@github-actions github-actions bot added 08 Milestone: Third quarter release size/small PR with less then 50 lines Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... labels Aug 31, 2025
@leggewie
Copy link
Contributor Author

ping @alexl83 would you be so kind to test?

@leggewie leggewie marked this pull request as draft August 31, 2025 21:58
@leggewie leggewie force-pushed the wip-fix-opi5-audio branch from a44ae29 to 00ec466 Compare August 31, 2025 23:19
@github-actions github-actions bot added size/large PR with 250 lines or more and removed size/small PR with less then 50 lines labels Aug 31, 2025
@leggewie leggewie marked this pull request as ready for review August 31, 2025 23:21
@EvilOlaf
Copy link
Member

EvilOlaf commented Oct 2, 2025

Since #8703 would you rebase on that? Is it even necessary to have a whole device tree replacing mainline or wouldn't a simple patch be sufficient?

@leggewie leggewie force-pushed the wip-fix-opi5-audio branch from 00ec466 to eb99c1e Compare October 2, 2025 16:39
@leggewie
Copy link
Contributor Author

leggewie commented Oct 2, 2025

Since #8703 would you rebase on that? Is it even necessary to have a whole device tree replacing mainline or wouldn't a simple patch be sufficient?

I assume you are not talking about a git rebase, as there is no conflict with HEAD. I did that nonetheless since it's easy enough to do.

I do not have the device, so I cannot say if this change actually does what it hopes to do or if that is dependent on the version of the kernel used. I pinged the maintainer and a couple of people who I think might have access to the device but got no response.

Nothing further I can do here, really.

PS: Yes, a patch to an existing file might be better going forward. But if there is no run-time testing than the work to accomplish that would be in vain, so I'll wait for that to happen.

@paolosabatino
Copy link
Contributor

PS: Yes, a patch to an existing file might be better going forward. But if there is no run-time testing than the work to accomplish that would be in vain, so I'll wait for that to happen.

Generally if there is already a DTS for the board in the mainline kernel, a patch is better because it won't hinder future changes to the DTS in the mainline kernel; otherwise, if the mainline kernel has no DTS yet, then a full DTS in armbian is fine.

About the rebase, I can do it later... it actually depends on which PR gets merged first: this or #8703 - I guess this PR is simpler and thus will get through first, then I will do the rebase.

@leggewie
Copy link
Contributor Author

leggewie commented Oct 6, 2025

About the rebase, I can do it later... it actually depends on which PR gets merged first: this or #8703

#8703 was merged

@SuperKali
Copy link
Member

@leggewie Since the branch edge is on kernel 6.18, does it make more sense to keep this PR open? Have the changes been made on the current kernel edge?
If the problem is also present on the current edge kernel, it would be advisable to update this PR.

Thank you.

@armbian armbian deleted a comment from coderabbitai bot Dec 17, 2025
@leggewie
Copy link
Contributor Author

The patch has landed upstream so there is indeed nothing left to be done for 6.18

@leggewie leggewie closed this Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

08 Milestone: Third quarter release Hardware Hardware related like kernel, U-Boot, ... Needs review Seeking for review Patches Patches related to kernel, U-Boot, ... size/large PR with 250 lines or more

Development

Successfully merging this pull request may close these issues.

4 participants